import { reactive } from "vue";


export const PD_42_2 = reactive({
    communication_status: 1,
    PD_42_2: {
        "Inverter1FaultFeed_DI": false,
        "Inverter1RunFeed_DI": false,
        "Inverter1HostState_AI": 0,
        "Motor1RearShaftTemp_AI": 0,
        "Motor1CoolantOutTemp_AI": 0,
        "Motor1CoolantInTemp_AI": 0,
        "Motor1FrontShaftTemp_AI": 0,
        "Motor1WindingTemp_AI": 0,
        "Drum1Temp_AI": 0,
        "Motor1OutputCurr_AI": 0,
        "Motor1OutputPow_AI": 0,
        "Motor1OutputFreq_AI": 0,
        "Inverter2FaultFeed_DI": false,
        "Inverter2RunFeed_DI": false,
        "Inverter2HostState_AI": 0,
        "Motor2RearShaftTemp_AI": 0,
        "Motor2CoolantOutTemp_AI": 0,
        "Motor2CoolantInTemp_AI": 0,
        "Motor2FrontShaftTemp_AI": 0,
        "Motor2WindingTemp_AI": 0,
        "Drum2Temp_AI": 0,
        "Motor2OutputCurr_AI": 0,
        "Motor2OutputPow_AI": 0,
        "Motor2OutputFreq_AI": 0,
        "Inverter3FaultFeed_DI": false,
        "Inverter3RunFeed_DI": false,
        "Inverter3HostState_AI": 0,
        "Motor3RearShaftTemp_AI": 0,
        "Motor3CoolantOutTemp_AI": 0,
        "Motor3CoolantInTemp_AI": 0,
        "Motor3FrontShaftTemp_AI": 0,
        "Motor3WindingTemp_AI": 0,
        "Motor3OutputCurr_AI": 0,
        "Motor3OutputPow_AI": 0,
        "Motor3OutputFreq_AI": 0,
        "HNProtectCoalPile_DI": false,
        "HNProtectDeviation1_DI": false,
        "HNProtectDeviation2_DI": false,
        "HNProtectSmoke_DI": false,
        "HNProtectTermVolt_AI": 0,
        "HNProtectLongTear_DI": false,
        "HNLineLock1_DI": false,
        "HNLineLock10_DI": false,
        "HNLineLock11_DI": false,
        "HNLineLock12_DI": false,
        "HNLineLock2_DI": false,
        "HNLineLock3_DI": false,
        "HNLineLock4_DI": false,
        "HNLineLock5_DI": false,
        "HNLineLock6_DI": false,
        "HNLineLock7_DI": false,
        "HNLineLock8_DI": false,
        "HNLineLock9_DI": false,
        "CoolingFan1RunFeed_DI": false,
        "CoolingFan2RunFeed_DI": false,
        "CoolingFan3RunFeed_DI": false,
        "BrakeNotInPlaceFault_DI": false,
        "InverterFeedFault_DI": false,
        "InverterStopNoRespFault_DI": false,
        "InverterStopSignal_DI": false,
        "HNProtectNormalFeed_DI": false,
        "RemoteReady_DI": false,
        "CoolingFanFeedFault_DI": false,
        "DiscBrakeClampSignal_DI": false,
        "DiscBrakeFaultSignal_DI": false,
        "DiscBrakeReleaseSignal_DI": false,
        "BeltLowSpeedState_DI": false,
        "BeltHighSpeedState_DI": false,
        "BeltMidSpeedState_DI": false,
        "BrakeNotReleasedFault_DI": false,
        "TensionFaultFeed_DI": false,
        "TensionNotInPlaceFault_DI": false,
        "TensionNormalSignal_DI": false,

    },
    PD_42_2_GEN: {
        HNProtectSpeed_AI: 0,//子页面设备参数-华宁保护-速度保护
        ControlCentral_AI: 0,//总貌4-2-2-华宁控制区-集控
        HNWarn_DI: false,//总貌4-2-2-华宁预警-4-2大巷二部皮带
        CtrlReset_DO: false,//总貌4-2-2-控制区-故障复位按钮
        Unlock_DO: false,//总貌4-2-2-控制区-解锁/联锁按钮
        CtrlStart_DO: false,//总貌4-2-2-控制区-启动按钮
        CtrlStop_DO: false,//总貌4-2-2-控制区-停止按钮
        CtrlLocal_AI: false,//总貌4-2-2-皮带控制方式-就地
        ModeRemote_DI: false,//总貌4-2-2-皮带控制方式-远程
        RUNSts_DI: false,//总貌4-2-2-状态区-运行状态
    },

    //Modbus
    //组合开关
    //1号组合开关
    "300136": 0,
    "300140": 0,
    "300144": 0,
    "300155": 0,
    "300148": 0,
    "300137": 0,
    "300141": 0,
    "300145": 0,
    "300156": 0,
    "300149": 0,
    "300138": 0,
    "300142": 0,
    "300146": 0,
    "300157": 0,
    "300150": 0,
    "300139": 0,
    "300143": 0,
    "300147": 0,
    "300158": 0,
    "300151": 0,
    //2号组合开关
    "300168": 0,
    "300175": 0,
    "300182": 0,
    "300169": 0,
    "300176": 0,
    "300183": 0,
    "300170": 0,
    "300177": 0,
    "300184": 0,
    "300171": 0,
    "300178": 0,
    "300185": 0,
    "300172": 0,
    "300179": 0,
    "300186": 0,
    "300173": 0,
    "300180": 0,
    "300187": 0,
    "300174": 0,
    "300181": 0,
    "300188": 0,
    "300209": 0,

    //传感器参数
    "404097": 0,
    "404098": 0,
    "404099": 0,
    "404100": 0,
    "408451": 0,
    "408195": 0,
    "408452": 0,
    "408196": 0,
    "408453": 0,
    "408197": 0,
    "408454": 0,
    "408198": 0,
    "408455": 0,
    "408199": 0,
    "408456": 0,
    "408200": 0,
    "408449": 0,
    "408193": 0,
    "408450": 0,
    "408194": 0,


})